﻿
namespace System
{
	/// <summary>
	/// Adds extensions to boolean values
	/// </summary>
	public static class BooleanExtensions
	{
		/// <summary>
		/// Verifies that the value is true
		/// </summary>
		/// <param name="boolean">The boolean value</param>
		/// <returns>True if it's true</returns>
		public static bool IsTrue(this bool boolean)
		{
			return true == boolean;
		}
		/// <summary>
		/// Verifies that the value is false
		/// </summary>
		/// <param name="boolean">The boolean value</param>
		/// <returns>False if it's false</returns>
		public static bool IsFalse(this bool boolean)
		{
			return false == boolean;
		}

	}
}
